//
//  YSCustomNotificationDB.h
//  YouSheng
//
//  Created by aaa on 16/8/18.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YSService.h"
@class YSCustomNotificationObject;
@interface YSCustomNotificationDB :YSService
@property (nonatomic,assign) NSInteger unreadCount;

- (NSArray *)fetchNotifications:(YSCustomNotificationObject *)notification
                          limit:(NSInteger)limit;

- (BOOL)saveNotification:(YSCustomNotificationObject *)notification;

- (void)deleteNotification:(YSCustomNotificationObject *)notification;

- (void)deleteAllNotification;

- (void)markAllNotificationsAsRead;
@end
